/**
 * com.cnhis.his.customer.mapper.Acx1.java
 */
package com.mbmed.doctor.medadvice.mapper;

import javax.xml.bind.annotation.XmlRootElement;

import com.mbmed.doctor.commons.utils.BaseVO;

/**
 * @file  Acx1.java
 * @author 刘武
 * @version 0.1
 * @todo	Acx1数据值
 * Copyright(C), 2013-2014
 *		 Shenzhen Coordinates Software Development Co., Ltd.
 * History
 *   	1. Date: 2014-10-29 10:33:04
 *      	Author: 刘武
 *      	Modification: this file was created
 *   	2. ...
 */
@XmlRootElement
public class Acx1 extends BaseVO implements java.io.Serializable{

	private java.lang.String acx01;
	private java.lang.String acx02;
	private java.lang.String abbrp;
	private java.lang.String abbrw;
	public Acx1(){
	}

	public Acx1(
		java.lang.String acx01
	){
		this.acx01 = acx01;
	}



	public void setAcx01(java.lang.String value) {
		this.acx01 = value;
	}	
	public java.lang.String getAcx01() {
		return this.acx01;
	}

	public void setAcx02(java.lang.String value) {
		this.acx02 = value;
	}	
	public java.lang.String getAcx02() {
		return this.acx02;
	}

	public void setAbbrp(java.lang.String value) {
		this.abbrp = value;
	}	
	public java.lang.String getAbbrp() {
		return this.abbrp;
	}

	public void setAbbrw(java.lang.String value) {
		this.abbrw = value;
	}	
	public java.lang.String getAbbrw() {
		return this.abbrw;
	}


    public String toString() {
		  StringBuffer buffer = new StringBuffer();
		  buffer.append(getClass().getName()).append("@").append(Integer.toHexString(hashCode())).append(" [");	
			   buffer.append("Acx01").append("='").append(getAcx01()).append("' ");	
			   buffer.append("Acx02").append("='").append(getAcx02()).append("' ");	
			   buffer.append("Abbrp").append("='").append(getAbbrp()).append("' ");	
			   buffer.append("Abbrw").append("='").append(getAbbrw()).append("' ");	
		  buffer.append("]");
		  return buffer.toString();
	}		

	public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof Acx1) ) return false;
		 Acx1  castOther = ( Acx1) other;  
		 return 
					( (this.getAcx01()==castOther.getAcx01()) ||( this.getAcx01()!=null && castOther.getAcx01()!=null && this.getAcx01().equals(castOther.getAcx01()) ) )
					&&( (this.getAcx02()==castOther.getAcx02()) ||( this.getAcx02()!=null && castOther.getAcx02()!=null && this.getAcx02().equals(castOther.getAcx02()) ) )
					&&( (this.getAbbrp()==castOther.getAbbrp()) ||( this.getAbbrp()!=null && castOther.getAbbrp()!=null && this.getAbbrp().equals(castOther.getAbbrp()) ) )
					&&( (this.getAbbrw()==castOther.getAbbrw()) ||( this.getAbbrw()!=null && castOther.getAbbrw()!=null && this.getAbbrw().equals(castOther.getAbbrw()) ) )
			;
    }

	public int hashCode() {
         int result = 17;
				  result = 37 * result + (getAcx01() == null ? 0 : this.getAcx01().hashCode() );
				  result = 37 * result + (getAcx02() == null ? 0 : this.getAcx02().hashCode() );
				  result = 37 * result + (getAbbrp() == null ? 0 : this.getAbbrp().hashCode() );
				  result = 37 * result + (getAbbrw() == null ? 0 : this.getAbbrw().hashCode() );
         return result;
	} 
	
}
